<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkAsyncTasks
 *
 * @ORM\Table(name="tk_async_tasks", indexes={@ORM\Index(name="vccId", columns={"vcc_id"})})
 * @ORM\Entity
 */
class TkAsyncTasks
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业ID"})
     */
    private $vccId = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="flow_id", type="integer", nullable=false, options={"comment"="工单类型ID"})
     */
    private $flowId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="flow_name", type="string", length=200, nullable=false, options={"comment"="工单类型"})
     */
    private $flowName = '';

    /**
     * @var int
     *
     * @ORM\Column(name="menu_id", type="integer", nullable=false, options={"comment"="自定义菜单ID"})
     */
    private $menuId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="task_name", type="string", length=200, nullable=false, options={"comment"="任务名称"})
     */
    private $taskName = '';

    /**
     * @var int
     *
     * @ORM\Column(name="task_type", type="smallint", nullable=false, options={"comment"="类型（1转移 2催单 3结单 4删除）"})
     */
    private $taskType = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="progress", type="smallint", nullable=false, options={"comment"="进度（百分比是数字）"})
     */
    private $progress = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="total_nums", type="integer", nullable=false, options={"comment"="总数"})
     */
    private $totalNums = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="success_nums", type="integer", nullable=false, options={"comment"="成功数"})
     */
    private $successNums = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="defeat_nums", type="integer", nullable=false, options={"comment"="失败数"})
     */
    private $defeatNums = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="start_time", type="integer", nullable=false, options={"comment"="开始时间"})
     */
    private $startTime = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="end_time", type="integer", nullable=false, options={"comment"="结束时间"})
     */
    private $endTime = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="total_secs", type="integer", nullable=false, options={"comment"="用时"})
     */
    private $totalSecs = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="oper_id", type="integer", nullable=false, options={"comment"="操作人id"})
     */
    private $operId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="oper_name", type="string", length=150, nullable=false, options={"comment"="操作人名称"})
     */
    private $operName = '';

    /**
     * @var string
     *
     * @ORM\Column(name="es_condition", type="text", length=0, nullable=false, options={"comment"="ES查询条件"})
     */
    private $esCondition;

    /**
     * @var string
     *
     * @ORM\Column(name="front_condition", type="text", length=0, nullable=false, options={"comment"="前端所有查询条件"})
     */
    private $frontCondition;


}
